//
//  BlockView.h
//  CoreGraphicsTest
//
//  Created by aewatson on 11/19/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SpriteModel.h"
#import "BlockImages.h"

@interface SpriteView : UIImageView {
    SpriteModel *spriteModel;
    BlockImages *images;
}

@property (nonatomic, retain) SpriteModel *spriteModel;
@property (nonatomic, retain) BlockImages *images;

- (id)initWithSpriteModel:(SpriteModel*) newSpriteModel andImages:(BlockImages *)newImages;
- (void)updateFromModel;
- (void)nextState;
- (void)changeSize;

@end
